package com.gzyj.jtt808.v2011.protocol.terminalparam;

import io.netty.buffer.ByteBuf;
import lombok.Data;

import java.io.Serializable;

@Data
public abstract class JTT808_0x8103_TerminalParam implements Serializable {

    private int ParamId;
    private int ParamLength;

    public JTT808_0x8103_TerminalParam(){

    }

    public JTT808_0x8103_TerminalParam(int id){
        this.ParamId=id;
    }

    public abstract void encode(ByteBuf buf);

    public abstract JTT808_0x8103_TerminalParam decode(ByteBuf buf);


}
